package com.ninthgroup.service;

import com.ninthgroup.entity.Admin;
import com.ninthgroup.vo.Result;

/**
 * @author ：1452863884@qq.com rcg
 * @date ：Created in 2022/10/21 12:43
 * @description：管理员
 * @modified By：
 * @version: 1.0
 */
public interface AdminService {


    /**
     * @param admin
     * @return com.ninthgroup.entity.Admin
     * @create by: 1452863884@qq.com rcg
     * @description:管理员登录
     * @create time: 2022/10/21 13:50
     */
    Admin login(Admin admin);

    /**
     * @param aId
     * @return com.ninthgroup.vo.Result
     * @create by: 1452863884@qq.com rcg
     * @description:更新个人信息通过id
     * @create time: 2022/10/21 20:11
     */
    Result findOneById(Integer aId);


    /**
     * fetch data by show
     * @create by: 1452863884@qq.com rcg
     * @description:修改管理员用户
     * @create time: 2022/11/4 15:18
     * @param admin
     * @return com.ninthgroup.vo.Result
     */
    Result update(Admin admin);
}
